<!--{eval if($this->Config['attach_enable']) $allow_attach = 1; else $allow_attach = 0 }-->
<!--{eval $allow_pic = $this->Config['image_enable'] ? $this->Config['image_enable'] : 0}-->
<!--{eval $allow_face = $this->Config['face_enable'] ? $this->Config['face_enable'] : 0}-->
<li class="vg_line">
<!--{if $val[imageid] && $val[image_list] || $val[VideoImg]}-->
<!--{if $val[image_list]}-->
<!--{loop $val[image_list] $iv}-->
<div class="item_photo"><a target="_blank" href="index.php?mod=topic&code={$val[tid]}"><img width="280" src="{$iv[image_middle]}"></a></div>
<!--{/loop}-->
<!--{/if}-->
<!--{if $val[VideoImg]}-->
<div class="item_photo"><a target="_blank" href="index.php?mod=topic&code={$val[tid]}"><img width="280" src="{$val[VideoImg]}"></a></div>
<!--{/if}-->
<div class="vg_line_solid"></div>
<!--{/if}-->
<div class="ws_bd">
<div class="wb_l_face">
<div class="avatar">
<a href="index.php?mod={$val[username]}" class="nude_face"><img src="{$val[face]}" onerror="javascript:faceError(this);" /></a>
</div>
</div>
<div class="photofllow">{$val[follow_html]}</div> 
<h5><span class="photo_vip">{template "user_signature"}</span>{$val[content]}</h5>
</div>
<div class="favorite" id="topic_list_{$val[tid]}">			  
<span id="topic_lists_{$val[tid]}_time" class="ut"><a href="index.php?mod=topic&code={$val[tid]}" target="_blank" title="查看">{$val[dateline]} </a></span>
<span id="topic_lists_{$val[tid]}_view" class="ut" style="display:none;"><a href="index.php?mod=topic&code={$val[tid]}" target="_blank" title="发布时间：{$val[dateline]}">查看详情</a></span>
			           
<div class="creply"><dl>
<dd><a href="javascript:void(0)" title="已有{$val[replys]}人评论" onclick="DreplyTopic({$val[tid]},{$val[replys]},{$allow_attach},{$allow_pic},{$allow_face},1);return false;">评论</a>({$val[replys]})</dd>
<dt><a href="javascript:void(0)" title="已有{$val[forwards]}人转发" onclick="get_forward_choose({$val[tid]},{$allow_attach},{$allow_pic},{$allow_face});return false;">转发</a>({$val[forwards]}) | </dt>
<dt> <span {if MEMBER_ID <1 } onclick="ShowLoginDialog();"{else} onclick="topicdig({$val[tid]},{$val[uid]},{$val[digcounts]},'{$this->Config[changeword][dig]}');return false;"{/if}><a class="topicdig_{$val[tid]} digusers" id="topicdig_{$val[tid]}" href="javascript:;" value="{$val[tid]}" rel="{$val[digcounts]}" title="{$this->Config[changeword][dig]}">&nbsp;<!--{if $val[digcounts]}-->({$val[digcounts]})<!--{/if}--></a></span> | </dt>
</dl></div>
</div>
</li>
<script type="text/javascript">
	$(document).ready(function(){	
		$("#topic_list_{$val[tid]}").mouseover(function(){$("#topic_lists_{$val[tid]}_time").hide();$("#topic_lists_{$val[tid]}_view").show();});
		$("#topic_list_{$val[tid]}").mouseout(function(){$("#topic_lists_{$val[tid]}_time").show();$("#topic_lists_{$val[tid]}_view").hide();});
	});
</script>